package com.deepgames.mud.gobject.data;

import java.util.ArrayList;
import java.util.List;

// TODO Include zone loading name.
public class Zone extends Gobject {

	private List<Room> rooms;
	
	public Zone(String gobjectID, String shortName, String longName,
			String shortDesc, String longDesc, String formattedMeta,
			String loadCommand) {
		
		super(gobjectID, shortName, longName, shortDesc, longDesc,
				formattedMeta);
		
		this.setRooms(new ArrayList<Room>());
	}

	public void setRooms(List<Room> rooms) {
		this.rooms = rooms;
	}

	public List<Room> getRooms() {
		return rooms;
	}

}
